package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

import java.util.Date;

/**
    * 维保签到明细
    */
@Data
@TableName("blade_maintain_sign")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "MaintainSign对象", description = "维保签到明细")
public class MaintainSign extends TenantEntity {

	/**
	 * 用户id
	 */
	@TableField(value = "user_id")
	private Long userId;

	/**
	 * 计划id
	 */
	@TableField(value = "plan_id")
	private Long planId;

    /**
     * 签到图片地址
     */
    @TableField(value = "sign_image")
    private String signImage;

    /**
     * 签到描述
     */
    @TableField(value = "sign_desc")
    private String signDesc;

    /**
     * 签到状态：1-正常 2-异常
     */
    @TableField(value = "sign_status")
    private Integer signStatus;

	/**
	 * 经度
	 */
	@TableField(value = "sign_longitude")
	private String signLongitude;

	/**
	 * 纬度
	 */
	@TableField(value = "sign_latitude")
	private String signLatitude;

	/**
	 * 签到地址
	 */
	@TableField(value = "sign_address")
	private String signAddress;

	/**
	 * 签到时间
	 */
	@TableField(value = "sign_time")
	private Date signTime;

	/**
	 * 签退图片地址
	 */
	@TableField(value = "sign_out_image")
	private String signOutImage;

	/**
	 * 签退描述
	 */
	@TableField(value = "sign_out_desc")
	private String signOutDesc;

	/**
	 * 签退状态：1-正常 2-异常
	 */
	@TableField(value = "sign_out_status")
	private Integer signOutStatus;

	/**
	 * 签退经度
	 */
	@TableField(value = "sign_out_longitude")
	private String signOutLongitude;

	/**
	 * 签退纬度
	 */
	@TableField(value = "sign_out_latitude")
	private String signOutLatitude;

	/**
	 * 签退签到地址
	 */
	@TableField(value = "sign_out_address")
	private String signOutAddress;

	/**
	 * 签退时间
	 */
	@TableField(value = "sign_out_time")
	private Date signOutTime;

	/**
	 * 时间间隔
	 */
	@TableField(value = "time_interval")
	private Long timeInterval;

	@TableField(exist = false)
	private String userName;

	@TableField(exist = false)
	private String roleIds;

	@TableField(exist = false)
	private String deptIds;


}
